'\" t
.\"     Title: ocf_pacemaker_Dummy
.\"    Author: Andrew Beekhof <andrew@beekhof.net>
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 03/27/2020
.\"    Manual: Pacemaker Configuration
.\"    Source: Pacemaker Configuration
.\"  Language: English
.\"
.TH "OCF_PACEMAKER_DUMMY" "7" "03/27/2020" "Pacemaker Configuration" "Pacemaker Configuration"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ocf_pacemaker_Dummy \- Example stateless resource agent
.SH "SYNOPSIS"
.PP
\fBOCF_RESKEY_state\fR=string
\fBOCF_RESKEY_passwd\fR=string [\fBOCF_RESKEY_fake\fR=string]
\fBOCF_RESKEY_op_sleep\fR=string [\fBOCF_RESKEY_fail_start_on\fR=string]
\fBOCF_RESKEY_envfile\fR=string

\fBDummy\fR
[start | stop | monitor | reload | migrate_to | migrate_from | validate\-all | meta\-data]
.SH "DESCRIPTION"
.PP
This is a Dummy Resource Agent\&. It does absolutely nothing except keep track of whether its running or not\&. Its purpose in life is for testing and to serve as a template for RA writers\&. NB: Please pay attention to the timeouts specified in the actions section below\&. They should be meaningful for the kind of resource the agent manages\&. They should be the minimum advised timeouts, but they shouldn\*(Aqt/cannot cover _all_ possible resource instances\&. So, try to be neither overly generous nor too stingy, but moderate\&. The minimum timeouts should never be below 10 seconds\&.
.SH "SUPPORTED PARAMETERS"
.PP
\fBOCF_RESKEY_state\fR = string [/Dummy\-\&.state]
.RS 4
State file
.sp
Location to store the resource state in\&.
.RE
.PP
\fBOCF_RESKEY_passwd\fR = string []
.RS 4
Password
.sp
Fake password field
.RE
.PP
\fBOCF_RESKEY_fake\fR = string [dummy]
.RS 4
Fake attribute that can be changed to cause a reload
.sp
Fake attribute that can be changed to cause a reload
.RE
.PP
\fBOCF_RESKEY_op_sleep\fR = string [0]
.RS 4
Operation sleep duration in seconds\&.
.sp
Number of seconds to sleep during operations\&. This can be used to test how the cluster reacts to operation timeouts\&.
.RE
.PP
\fBOCF_RESKEY_fail_start_on\fR = string []
.RS 4
Report bogus start failure on specified host
.sp
Start actions will return failure if running on the host specified here, but the resource will start successfully anyway (future monitor calls will find it running)\&. This can be used to test on\-fail=ignore\&.
.RE
.PP
\fBOCF_RESKEY_envfile\fR = string []
.RS 4
Environment dump file
.sp
If this is set, the environment will be dumped to this file for every call\&.
.RE
.SH "AUTHOR"
.PP
\fBAndrew Beekhof\fR <\&andrew@beekhof\&.net\&>
.RS 4
Author.
.RE
